package pers.mihao.quickstream.common.task.scheduler;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author mihao
 * @since 2024/11/20
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class TaskInvokeRes {
    private Date taskStartTime;

    private Date taskEndTime;

    private Integer taskInvokerNum;

    private Boolean invokerRes;

    @JSONField(serialize = false)
    private Exception error;

    private String errorMessage;

}
